home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: Mailbox/MIME Entity
(archive/mbox).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| Newsgroup Content (archive/news)
| magic
| Supported |
100%
| dexvert
| Mailbox/MIME Entity (archive/mbox)
| magic
| Supported |
100%
| dexvert
| Internet Message Format (text/imf)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| news, ASCII text
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| dexmagic
| PrintFox/Pagefox WEAK
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| fmt/950 MIME Email (1.0)
| default
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
| |
100%
| xdgMime
| message/news
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 50 61 74 68 3a 20 72 65 | 64 2e 77 65 65 67 2e 75 |Path: re|d.weeg.u|
|00000010| 69 6f 77 61 2e 65 64 75 | 21 72 6f 62 69 6e 73 6f |iowa.edu|!robinso|
|00000020| 6e 0a 46 72 6f 6d 3a 20 | 54 68 65 20 41 6d 6f 72 |n.From: |The Amor|
|00000030| 70 68 6f 75 73 20 4d 61 | 73 73 20 3c 72 6f 62 69 |phous Ma|ss <robi|
|00000040| 6e 73 6f 6e 40 62 6c 75 | 65 2e 77 65 65 67 2e 75 |nson@blu|e.weeg.u|
|00000050| 69 6f 77 61 2e 65 64 75 | 3e 0a 4e 65 77 73 67 72 |iowa.edu|>.Newsgr|
|00000060| 6f 75 70 73 3a 20 63 6f | 6d 70 2e 6c 61 6e 67 2e |oups: co|mp.lang.|
|00000070| 63 0a 53 75 62 6a 65 63 | 74 3a 20 52 65 3a 20 41 |c.Subjec|t: Re: A|
|00000080| 6e 20 69 6e 63 72 65 64 | 61 62 6c 79 20 64 75 6d |n incred|ably dum|
|00000090| 62 20 71 75 65 73 74 69 | 6f 6e 0a 44 61 74 65 3a |b questi|on.Date:|
|000000a0| 20 53 75 6e 2c 20 31 34 | 20 4a 61 6e 20 31 39 39 | Sun, 14| Jan 199|
|000000b0| 36 20 31 32 3a 33 35 3a | 33 35 20 2d 30 36 30 30 |6 12:35:|35 -0600|
|000000c0| 0a 4f 72 67 61 6e 69 7a | 61 74 69 6f 6e 3a 20 55 |.Organiz|ation: U|
|000000d0| 6e 69 76 65 72 73 69 74 | 79 20 6f 66 20 49 6f 77 |niversit|y of Iow|
|000000e0| 61 2c 20 49 6f 77 61 20 | 43 69 74 79 2c 20 49 41 |a, Iowa |City, IA|
|000000f0| 2c 20 55 53 41 0a 44 69 | 73 74 72 69 62 75 74 69 |, USA.Di|stributi|
|00000100| 6f 6e 3a 20 77 6f 72 6c | 64 0a 4d 65 73 73 61 67 |on: worl|d.Messag|
|00000110| 65 2d 49 44 3a 20 3c 50 | 69 6e 65 2e 41 33 32 2e |e-ID: <P|ine.A32.|
|00000120| 33 2e 39 31 2e 39 36 30 | 31 31 34 31 32 32 38 30 |3.91.960|11412280|
|00000130| 32 2e 37 33 39 33 36 45 | 2d 31 30 30 30 30 30 40 |2.73936E|-100000@|
|00000140| 72 65 64 2e 77 65 65 67 | 2e 75 69 6f 77 61 2e 65 |red.weeg|.uiowa.e|
|00000150| 64 75 3e 0a 52 65 66 65 | 72 65 6e 63 65 73 3a 20 |du>.Refe|rences: |
|00000160| 3c 34 64 38 74 6c 6b 24 | 70 67 6b 40 63 63 6e 65 |<4d8tlk$|pgk@ccne|
|00000170| 74 33 2e 63 63 6e 65 74 | 2e 63 6f 6d 3e 20 3c 34 |t3.ccnet|.com> <4|
|00000180| 64 62 63 30 67 24 72 35 | 6f 40 63 63 6e 65 74 33 |dbc0g$r5|o@ccnet3|
|00000190| 2e 63 63 6e 65 74 2e 63 | 6f 6d 3e 0a 4e 4e 54 50 |.ccnet.c|om>.NNTP|
|000001a0| 2d 50 6f 73 74 69 6e 67 | 2d 48 6f 73 74 3a 20 72 |-Posting|-Host: r|
|000001b0| 65 64 2e 77 65 65 67 2e | 75 69 6f 77 61 2e 65 64 |ed.weeg.|uiowa.ed|
|000001c0| 75 0a 4d 69 6d 65 2d 56 | 65 72 73 69 6f 6e 3a 20 |u.Mime-V|ersion: |
|000001d0| 31 2e 30 0a 43 6f 6e 74 | 65 6e 74 2d 54 79 70 65 |1.0.Cont|ent-Type|
|000001e0| 3a 20 54 45 58 54 2f 50 | 4c 41 49 4e 3b 20 63 68 |: TEXT/P|LAIN; ch|
|000001f0| 61 72 73 65 74 3d 55 53 | 2d 41 53 43 49 49 0a 58 |arset=US|-ASCII.X|
|00000200| 2d 53 65 6e 64 65 72 3a | 20 72 6f 62 69 6e 73 6f |-Sender:| robinso|
|00000210| 6e 40 72 65 64 2e 77 65 | 65 67 2e 75 69 6f 77 61 |n@red.we|eg.uiowa|
|00000220| 2e 65 64 75 0a 49 6e 2d | 52 65 70 6c 79 2d 54 6f |.edu.In-|Reply-To|
|00000230| 3a 20 3c 34 64 62 63 30 | 67 24 72 35 6f 40 63 63 |: <4dbc0|g$r5o@cc|
|00000240| 6e 65 74 33 2e 63 63 6e | 65 74 2e 63 6f 6d 3e 20 |net3.ccn|et.com> |
|00000250| 0a 0a 4f 6e 20 31 34 20 | 4a 61 6e 20 31 39 39 36 |..On 14 |Jan 1996|
|00000260| 2c 20 4a 65 66 66 65 72 | 79 20 43 20 4d 63 4c 65 |, Jeffer|y C McLe|
|00000270| 61 6e 20 77 72 6f 74 65 | 3a 0a 0a 3e 20 4a 65 66 |an wrote|:..> Jef|
|00000280| 66 65 72 79 20 43 20 4d | 63 4c 65 61 6e 20 28 66 |fery C M|cLean (f|
|00000290| 65 6c 69 6e 6f 69 64 40 | 63 63 6e 65 74 2e 63 6f |elinoid@|ccnet.co|
|000002a0| 6d 29 20 77 72 6f 74 65 | 3a 0a 3e 20 3a 20 09 61 |m) wrote|:.> : .a|
|000002b0| 6e 64 20 49 20 73 68 6f | 75 6c 64 20 62 65 20 61 |nd I sho|uld be a|
|000002c0| 62 6c 65 20 74 6f 20 66 | 69 67 75 72 65 20 69 74 |ble to f|igure it|
|000002d0| 20 6f 75 74 20 6d 79 73 | 65 6c 66 2e 2e 2e 2e 0a | out mys|elf.....|
|000002e0| 3e 20 3a 20 42 75 74 20 | 49 20 63 61 6e 27 74 2e |> : But |I can't.|
|000002f0| 2e 2e 2e 2e 0a 3e 20 0a | 3e 20 3a 20 09 49 20 61 |.....> .|> : .I a|
|00000300| 6d 20 6c 65 61 72 6e 69 | 6e 66 20 43 20 28 41 6c |m learni|nf C (Al|
|00000310| 72 65 61 64 79 20 67 6f | 74 20 74 68 65 20 46 41 |ready go|t the FA|
|00000320| 51 29 20 61 6c 73 6f 20 | 6d 61 6b 65 20 75 73 65 |Q) also |make use|
|00000330| 20 6f 66 20 6f 6c 64 20 | 33 62 32 0a 3e 20 3a 20 | of old |3b2.> : |
|00000340| 70 72 6f 67 72 61 6d 6d | 69 6e 67 20 6d 61 6e 75 |programm|ing manu|
|00000350| 61 6c 73 20 61 6e 64 20 | 22 54 65 61 63 68 20 79 |als and |"Teach y|
|00000360| 6f 75 72 73 65 6c 66 20 | 43 22 0a 3e 20 3a 20 09 |ourself |C".> : .|
|00000370| 42 75 74 20 77 69 74 68 | 20 61 6c 6c 20 74 68 61 |But with| all tha|
|00000380| 74 20 49 20 53 54 49 4c | 4c 20 63 61 6e 27 74 20 |t I STIL|L can't |
|00000390| 66 69 67 75 72 65 20 74 | 68 69 73 20 6f 75 74 2e |figure t|his out.|
|000003a0| 2e 2e 0a 3e 20 0a 3e 20 | 09 54 68 61 6e 6b 73 20 |...> .> |.Thanks |
|000003b0| 66 6f 72 20 74 68 65 20 | 65 2d 6d 61 69 6c 20 73 |for the |e-mail s|
|000003c0| 6f 20 66 61 72 20 6f 6e | 20 74 68 69 73 2e 2e 2e |o far on| this...|
|000003d0| 2e 0a 3e 20 4d 6f 72 65 | 20 64 65 74 61 6c 65 73 |..> More| detales|
|000003e0| 20 28 49 20 73 65 65 6d | 20 74 6f 20 68 61 76 65 | (I seem| to have|
|000003f0| 20 6d 69 73 73 65 64 29 | 0a 3e 20 09 74 68 65 20 | missed)|.> .the |
|00000400| 33 42 32 20 77 61 73 20 | 61 20 55 6e 69 78 20 63 |3B2 was |a Unix c|
|00000410| 6f 6d 70 75 74 65 72 20 | 6d 61 64 65 20 62 79 20 |omputer |made by |
|00000420| 41 54 26 54 20 28 44 69 | 73 63 6f 6e 74 69 6e 75 |AT&T (Di|scontinu|
|00000430| 65 64 29 0a 3e 20 61 6e | 64 20 49 20 61 6d 20 63 |ed).> an|d I am c|
|00000440| 75 72 65 6e 74 6c 79 20 | 70 72 6f 67 72 61 6d 6d |urently |programm|
|00000450| 69 6e 67 20 4f 6e 20 53 | 75 6e 4f 73 20 28 55 6e |ing On S|unOs (Un|
|00000460| 69 78 29 20 6f 6e 20 61 | 20 53 75 6e 53 70 61 72 |ix) on a| SunSpar|
|00000470| 63 2e 0a 3e 20 49 20 77 | 61 6e 74 20 6d 79 20 63 |c..> I w|ant my c|
|00000480| 6f 64 65 20 74 6f 20 62 | 65 20 70 6f 72 74 61 62 |ode to b|e portab|
|00000490| 6c 65 20 74 6f 20 6d 6f | 73 74 20 28 69 66 20 6e |le to mo|st (if n|
|000004a0| 6f 74 20 61 6c 6c 29 20 | 55 6e 69 78 20 63 6c 6f |ot all) |Unix clo|
|000004b0| 6e 65 73 2e 0a 3e 20 0a | 3e 20 09 49 20 6e 65 65 |nes..> .|> .I nee|
|000004c0| 64 20 61 6e 20 61 6c 74 | 65 72 6e 69 74 69 76 65 |d an alt|ernitive|
|000004d0| 20 74 6f 20 67 65 74 63 | 28 29 2e 2e 2e 2e 0a 3e | to getc|().....>|
|000004e0| 20 28 49 20 68 61 76 65 | 20 4e 4f 54 20 63 68 65 | (I have| NOT che|
|000004f0| 63 68 65 64 20 6f 75 74 | 20 74 68 65 20 69 64 65 |ched out| the ide|
|00000500| 61 73 20 73 65 6e 74 20 | 6d 65 20 73 6f 20 66 61 |as sent |me so fa|
|00000510| 72 2e 2e 2e 20 62 75 74 | 20 74 68 65 79 20 73 65 |r... but| they se|
|00000520| 65 6d 0a 3e 20 72 6f 6f | 74 65 64 20 69 6e 20 44 |em.> roo|ted in D|
|00000530| 6f 73 20 62 61 73 65 64 | 20 43 20 63 6f 6d 70 69 |os based| C compi|
|00000540| 6c 65 64 20 61 6e 64 20 | 49 20 67 61 76 65 20 75 |led and |I gave u|
|00000550| 70 20 44 6f 73 20 61 20 | 77 68 69 6c 65 20 62 61 |p Dos a |while ba|
|00000560| 63 6b 29 0a 0a 20 20 55 | 6e 66 6f 72 74 75 6e 61 |ck).. U|nfortuna|
|00000570| 74 65 6c 79 2c 20 61 6c | 6c 20 74 68 65 20 66 75 |tely, al|l the fu|
|00000580| 6e 63 74 69 6f 6e 73 20 | 74 68 61 74 20 64 6f 20 |nctions |that do |
|00000590| 77 68 61 74 20 79 6f 75 | 20 77 61 6e 74 20 61 72 |what you| want ar|
|000005a0| 65 20 0a 73 79 73 74 65 | 6d 2d 64 65 70 65 6e 64 |e .syste|m-depend|
|000005b0| 65 6e 74 20 28 75 6e 2a | 78 20 69 73 20 63 6f 6e |ent (un*|x is con|
|000005c0| 73 69 64 65 72 65 64 20 | 6f 6e 65 20 73 79 73 74 |sidered |one syst|
|000005d0| 65 6d 20 69 6e 20 74 68 | 69 73 20 63 61 73 65 29 |em in th|is case)|
|000005e0| 2e 20 20 59 6f 75 72 20 | 0a 62 65 73 74 20 62 65 |. Your |.best be|
|000005f0| 74 20 74 68 65 6e 20 69 | 73 20 74 6f 20 77 72 69 |t then i|s to wri|
|00000600| 74 65 20 61 20 66 75 6e | 63 74 69 6f 6e 20 63 61 |te a fun|ction ca|
|00000610| 6c 6c 65 64 20 4d 79 47 | 65 74 63 28 29 20 28 6f |lled MyG|etc() (o|
|00000620| 72 20 77 68 61 74 65 76 | 65 72 29 2c 20 70 75 74 |r whatev|er), put|
|00000630| 20 0a 69 74 20 69 6e 20 | 69 74 73 20 6f 77 6e 20 | .it in |its own |
|00000640| 2e 63 20 66 69 6c 65 20 | 28 6d 79 67 65 74 63 2e |.c file |(mygetc.|
|00000650| 63 29 20 61 6e 64 20 70 | 72 6f 74 6f 74 79 70 65 |c) and p|rototype|
|00000660| 20 69 74 20 69 6e 20 61 | 20 68 65 61 64 65 72 20 | it in a| header |
|00000670| 66 69 6c 65 20 0a 28 6d | 79 67 65 74 63 2e 68 29 |file .(m|ygetc.h)|
|00000680| 2e 20 20 54 68 65 6e 20 | 23 69 6e 63 6c 75 64 65 |. Then |#include|
|00000690| 20 22 6d 79 67 65 74 63 | 2e 68 22 20 69 6e 20 65 | "mygetc|.h" in e|
|000006a0| 76 65 72 79 20 2e 63 20 | 66 69 6c 65 20 77 68 65 |very .c |file whe|
|000006b0| 72 65 20 79 6f 75 20 77 | 61 6e 74 20 74 68 61 74 |re you w|ant that|
|000006c0| 20 0a 66 75 6e 63 74 69 | 6f 6e 61 6c 69 74 79 2e | .functi|onality.|
|000006d0| 20 20 54 68 65 6e 20 77 | 68 65 6e 20 79 6f 75 20 | Then w|hen you |
|000006e0| 70 6f 72 74 20 74 6f 20 | 61 6e 6f 74 68 65 72 20 |port to |another |
|000006f0| 70 6c 61 74 66 6f 72 6d | 2c 20 6a 75 73 74 20 72 |platform|, just r|
|00000700| 65 70 6c 61 63 65 20 74 | 68 65 20 0a 6f 6c 64 20 |eplace t|he .old |
|00000710| 73 79 73 74 65 6d 27 73 | 20 6e 6f 6e 2d 70 6f 72 |system's| non-por|
|00000720| 74 61 62 6c 65 20 63 61 | 6c 6c 20 69 6e 20 4d 79 |table ca|ll in My|
|00000730| 47 65 74 63 28 29 20 77 | 69 74 68 20 74 68 65 20 |Getc() w|ith the |
|00000740| 6e 65 77 20 6f 6e 65 27 | 73 2c 20 61 6e 64 20 0a |new one'|s, and .|
|00000750| 72 65 63 6f 6d 70 69 6c | 65 2e 20 20 49 20 62 65 |recompil|e. I be|
|00000760| 6c 69 65 76 65 20 67 69 | 76 69 6e 67 20 4d 79 47 |lieve gi|ving MyG|
|00000770| 65 74 63 28 29 20 61 20 | 72 65 74 75 72 6e 20 76 |etc() a |return v|
|00000780| 61 6c 75 65 20 6f 66 20 | 69 6e 74 20 77 69 6c 6c |alue of |int will|
|00000790| 20 6d 61 6b 65 20 69 74 | 20 0a 63 6f 6d 70 6c 65 | make it| .comple|
|000007a0| 74 65 6c 79 20 70 6f 72 | 74 61 62 6c 65 20 28 73 |tely por|table (s|
|000007b0| 69 6e 63 65 20 74 68 61 | 74 27 73 20 77 68 61 74 |ince tha|t's what|
|000007c0| 20 67 65 74 63 28 29 20 | 72 65 74 75 72 6e 73 29 | getc() |returns)|
|000007d0| 2e 0a 0a 2f 2a 2a 4a 61 | 6d 65 73 20 52 6f 62 69 |.../**Ja|mes Robi|
|000007e0| 6e 73 6f 6e 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |nson****|********|
|000007f0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 20 20 20 20 20 |********|*** |
|00000800| 20 20 20 20 20 20 20 0a | 20 20 22 49 66 20 61 20 | .| "If a |
|00000810| 66 61 74 61 6c 20 65 72 | 72 6f 72 20 6f 63 63 75 |fatal er|ror occu|
|00000820| 72 73 2c 20 74 68 65 20 | 70 72 6f 67 72 61 6d 20 |rs, the |program |
|00000830| 73 68 6f 75 6c 64 20 6e | 6f 74 20 62 65 20 61 6c |should n|ot be al|
|00000840| 6c 6f 77 65 64 20 74 6f | 20 63 6f 6e 74 69 6e 75 |lowed to| continu|
|00000850| 65 2e 22 0a 20 2d 2d 20 | 4f 72 61 63 6c 65 20 50 |e.". -- |Oracle P|
|00000860| 72 6f 2a 43 20 55 73 65 | 72 27 73 20 47 75 69 64 |ro*C Use|r's Guid|
|00000870| 65 20 20 20 20 20 20 20 | 20 20 2a 2a 2a 2a 2a 2a |e | ******|
|00000880| 2a 2a 2a 2a 2a 2a 2a 6a | 61 6d 65 73 2d 72 6f 62 |*******j|ames-rob|
|00000890| 69 6e 73 6f 6e 40 75 69 | 6f 77 61 2e 65 64 75 2a |inson@ui|owa.edu*|
|000008a0| 2a 2f 0a 0a | |*/.. | |
+--------+-------------------------+-------------------------+--------+--------+